/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package earthdawnnet.events.client;

import java.util.Collection;

/**
 *
 * @author Andreas Franek
 */
public class LoginAcceptedEvent extends ClientEvent
{
    private Collection<String> chat;
    public LoginAcceptedEvent(Collection<String> chat)
    {
        this.chat = chat;
    }
    
    @Override
    public String getEventName()
    {
        return "LoginAcceptedEvent";
    }

    @Override
    public void apply(IClientEventHandler ceh)
    {
        ceh.loggedIn(chat);
    }
    
}
